package com.xzg.mission.dao;

import com.xzg.common.vo.QueryCondition;
import com.xzg.middleTable.entity.Label;
import com.xzg.middleTable.entity.Tmission;
import com.xzg.mission.entity.Mission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Mission record);

    int insertSelective(Mission record);

    Mission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Mission record);

    int updateByPrimaryKey(Mission record);

    int countByCondition(QueryCondition condition);

    List<Mission> allMission(QueryCondition condition);


    int selectMissionCount(QueryCondition condition);

    List<Mission> partMission(@Param("condition") QueryCondition condition);

}